<style tyle="text/css">
    .modal-lg {
      width: 70%;
    }
  </style>
  <div class="modal-header">
    <h4 class="modal-title">城市编号信息</h4>
  </div>
  <div class="modal-body">
  
    <form name="form" class="form-horizontal form-validation ng-pristine ng-valid ng-valid-required">
      <div class="form-group">
        <label class="col-lg-3 control-label">城市编号:</label>
        <div class="col-lg-3">
          <input type="text" class="form-control" ng-disabled="have !== undefined"  ng-model="citycode.code" placeholder="城市编号">
        </div>
      </div>
      <div class="form-group" >
        <label class="col-lg-3 control-label">城市地址信息:</label>
          <div  class="col-lg-3"> 
              <input type="text" class="form-control" ng-model="citycode.newaddress" placeholder="城市地址信息。">
          </div>
          <div class="col-lg-3">
              <button class="btn btn-info" ng-click="add()">添加</button> 
          </div>
      </div>
     
        <div class="form-group" style="margin:0 10% 0 10%;" ng-if="address_list.length > 0">
            <div style="padding-right: 20px; padding-bottom: 5px; float: left;"  ng-repeat="info in address_list">
                <button class="btn btn-sm btn-info">{{info.newaddress}}
                  <i class="glyphicon glyphicon-remove" ng-click="remove($index)"></i>
                </button>
              </div>
        </div>
 
    </form>
  
  </div>
  
  <div class="modal-footer">
      <button class="btn btn-success" type="button" ng-click="save()">确定</button>
      <button class="btn btn-danger" type="button" ng-click="cancel()">取消</button>
  </div>
  